Skip to main content

Interface: Call

Properties

bandwidth

bandwidth: number


disconnect

disconnect: () => void

Type declaration

▸ (): void

Returns

void


mediaStream

Optional mediaStream: MediaStream


present

present: (stream?: MediaStream) => Promise<void>

Type declaration

▸ (stream?): Promise<void>

Parameters
NameType
stream?MediaStream
Returns

Promise<void>


presoState

presoState: PresoState


receivePresentation

receivePresentation: (event: NormalizedPresentationEvent) => Promise<void>

Type declaration

▸ (event): Promise<void>

Parameters
NameType
eventNormalizedPresentationEvent
Returns

Promise<void>


sendDataChannelEvent

sendDataChannelEvent: (msg: DataChannelEvent) => void

Type declaration

▸ (msg): void

Parameters
NameType
msgDataChannelEvent
Returns

void


setBandwidth

setBandwidth: (bandwidth: number) => void

Type declaration

▸ (bandwidth): void

Parameters
NameType
bandwidthnumber
Returns

void


setStream

setStream: (stream: MediaStream) => void

Type declaration

▸ (stream): void

Parameters
NameType
streamMediaStream
Returns

void


stopPresenting

stopPresenting: () => Promise<void>

Type declaration

▸ (): Promise<void>

Returns

Promise<void>


stopReceivingPresentation

stopReceivingPresentation: () => void

Type declaration

▸ (): void

Returns

void